package com.yigerende.management.exception;



import lombok.Data;


/**
 * 自定义异常类
 */
@Data
public class BusinessException extends RuntimeException{

    private int code;

    private String msg;


    public BusinessException() {
        super("出异常了");
        this.code = 500;
        this.msg = "出错了，请联系系统管理员";
    }
}




